package com.zhiyou.hospital.ssh.result;

import com.zhiyou.hospital.ssh.model.UserModel;

/**
 * Created by zhouyanchao on 2017/10/17.
 * Descr: 登录结果返回
 */
public class LoginResult {
	private boolean success;
	private String message;
	private UserModel userModel;

	@Override
	public String toString() {
		return "LoginResult{" +
				"success=" + success +
				", message='" + message + '\'' +
				'}';
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public UserModel getUserModel() {
		return userModel;
	}

	public void setUserModel(UserModel userModel) {
		this.userModel = userModel;
	}
}
